
			
			<div class="container">
				<div class="weight_classes-form">
				<div class="page-header" style="position:relative;">
					<h3>Add Weight Classes </h3>
				</div>
					<?php echo form_open('weight_classes/add','class ="form-horizontal" ', 'id = "weight_classes-form"'); ?>
    					<div class="control-group">
							<label class="control-label" for="title">Weight Title<span style="color: red;">*</span></label>
							<div class="controls">
								<input type="text" name="title" id="title" value="<?php echo set_value('title'); ?>"/>
                                <label class="error"><?php echo form_error('title'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="unit">Weight Unit<span style="color: red;">*</span></label>
							<div class="controls">
								<input type="text" name="unit" id="unit" class="input-medium" value="<?php echo set_value('unit'); ?>"/>
                                <label class="error"><?php echo form_error('unit'); ?></label>
							</div>
						</div>
                        <hr />
                         <div class="control-group">
							<label class="control-label" for="value">Value</label>
							<div class="controls">
								<input type="text" name="value" id="value" class="input-medium" value="<?php echo set_value('value'); ?>"/>
                                <label class="error"><?php echo form_error('value'); ?></label>
							</div>
						</div>
                        <div class="form-actions">
 							<input class="btn btn-primary" id="submit" type="submit" value="Save Weight Class" />
							<input class="btn" id="cancel" type="button" name="cancel" value="Cancel" onclick="self.history.back()" />    
                        </div>
					<?php echo form_close(); ?>
				</div>
			</div>

